<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>传感器管理</title>
    <script src="js/authority/jquery.min.js"></script>
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <script src="js/authority/popper.min.js"></script>
    <script src="js/authority/bootstrap.min.js"></script>
    <link rel="stylesheet" href="css/all.css">
    <script src="js/authority/html5shiv.min.js"></script>
    <script src="js/authority/respond.min.js"></script>
    <script src="js/authority/all.min.js"></script>
    <link href="css/bootstrap-table.min.css" rel="stylesheet">
    <script src="js/authority/bootstrap-table.min.js"></script>
    <script src="js/authority/bootstrap-table-locale-all.min.js"></script>
    <script src="js/authority/bootstrap-table-export.min.js"></script>
    <!--在客户端保存生成的导出文件-->
<!--    <script src="js/authority/FileSaver.min.js"></script>-->
    <!--以XLSX（Excel 2007+ XML格式）格式导出表（SheetJS）-->
    <script src="js/authority/xlsx.core.min.js"></script>
    <!--以PNG格式导出表格-->
    <!--对于IE支持包括 html2canvas 之前的 es6-promise-->
    <script src="js/authority/es6-promise.auto.min.js"></script>
    <script src="js/authority/html2canvas.min.js"></script>
    <!--将表导出为PDF文件-->
    <script src="js/authority/jspdf.min.js"></script>
    <script src="js/authority/jspdf.plugin.autotable.js"></script>
    <!--无论期望的格式如何，最后都包含 tableexport.jquery.plugin（不是tableexport）-->
    <script src="js/authority/tableExport.min.js"></script>
    <script src="js/authority/bootstrap-table-zh-CN.min.js"></script>
     <style>
        td {
            font-size: 15px;
        }
    </style>
</head>
<body>
<nav class="navbar navbar-default">
    <div class="container-fluid">
        <div class="navbar-header">
            <a class="navbar-brand" href="#">
                <img alt="Brand" src="/Wlogo.png" style="height: 20px">
            </a>
            <a class="navbar-brand" href="Main.html">巡航机器人监控系统</a>
        </div>
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-5">
            <p class="navbar-text navbar-right" id="datetime">
                <script>
                    setInterval("document.getElementById('datetime').innerHTML=new Date().toLocaleString();", 1000);
                </script>
            </p>
            <ul class="nav navbar-nav navbar-right">
                <li><a href="#">异常反馈</a></li>
                <li><a href="#">刷新</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="true">欢迎您，肖亮！<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="#">权限查看</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="#">切换账户</a></li>
                        <li><a href="#">退出登录</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
</nav>
<div class="container-fluid">
    <div class="row">
        <div class="col-md-2">
            <div class="list-group">
                <ol class="breadcrumb">
                    <li><a href="welcome.html">首页</a></li>
                    <li class="">机器人本体管理</li>
                    <li class="active">传感器管理</li>
                </ol>
                <a style="background-color: #DCDCDC" class="list-group-item">机器人本体管理</a>
                <a href="RobotManagement.html" class="list-group-item ">通讯管理</a>
                <a href="SensorManagement.html" class="list-group-item active">传感器管理</a>
                <a style="background-color: #DCDCDC" class="list-group-item">机器人外设管理</a>
                <a href="BroadcastHostManagement.html" class="list-group-item ">广播主机管理</a>
                <a href="DataSubstationManagement.html" class="list-group-item ">数据分站管理</a>
                <a href="CameraManagement.html" class="list-group-item ">摄像机管理</a>
            </div>
            <div class="list-group">
                <a href="#" class="list-group-item active">
                    <h4 class="list-group-item-heading">巡航机器人监控系统</h4>
                    <p class="list-group-item-text">2021 © 中国中煤能源集团</p>
                </a>
            </div>
        </div>
        <div class="col-md-10">
            <div class="jumbotron">
                <h2 class="text-center">传感器管理列表</h2>
            </div>
            <div class="panel panel-default">
                <div class="panel-body">
                    <div class="row">
                        <div class="col-xs-4">
                            传感器编号：<input id="txt_search_sensorNum" type="text" class="form-control" placeholder="">
                        </div>
                        <div class="col-xs-4">
                            传感器名称：<input id="txt_search_sensorName" type="text" class="form-control" placeholder="">
                        </div>
                        <div class="col-xs-4 ">
                            <button id="searchButton" type="submit" class="btn btn-warning "
                                    style="margin-top: 15px;width: 150px">
                                <span class="glyphicon glyphicon-search" aria-hidden="true"></span>查询
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            <div class="panel panel-default">
                <div class="panel-body">
                    <table id="table-SensorManagement"></table>
                </div>
            </div>
        </div>

    </div>
</div>
</div>
<!--更新模态框显示-->
<div class="modal fade" id="exampleModalupdate" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title" id="exampleModalLabel">更新传感器信息</h4>
            </div>
            <div class="modal-body">
                <div class="alert alert-warning alert-dismissible" role="alert">
                    <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <strong>注意!</strong> 阀值上限2>阀值上限1>阀值下限1>阀值下限2
                </div>
                <form id="updateSensor">
                    <div class="form-group">
                        <em style="color: red;">*</em>
                        <label for="sensorNum-update" class="control-label">传感器编号：</label>
                        <input type="text" class="form-control" id="sensorNum-update"
                               name="sensorNum" disabled>
                    </div>
                    <div class="form-group">
                        <em style="color: red;">*</em>
                        <label for="sensorName-update" class="control-label">传感器名称：</label>
                        <input type="text" class="form-control" id="sensorName-update"
                               name="sensorName" disabled>
                    </div>
                    <div class="form-group">
                        <em style="color: red;">*</em>
                        <label for="channelNum-update" class="control-label">通道号名称：</label>
                        <input type="text" class="form-control" id="channelNum-update"
                               name="channelNum" disabled>
                    </div>
                    <div class="form-group">
                        <em style="color: red;">*</em>
                        <label for="thresUP1-update" class="control-label">阀值上限1：</label>
                        <input type="text" class="form-control" id="thresUP1-update"
                               name="thresUP1">
                    </div>
                    <div class="form-group">
                        <em style="color: red;">*</em>
                        <label for="thresUP2-update" class="control-label">阀值上限2：</label>
                        <input type="text" class="form-control" id="thresUP2-update"
                               name="thresUP2">
                    </div>
                    <div class="form-group">
                        <em style="color: red;">*</em>
                        <label for="thresLow1-update" class="control-label">阀值下限1：</label>
                        <input type="text" class="form-control" id="thresLow1-update"
                               name="thresLow1">
                    </div>
                    <div class="form-group">
                        <em style="color: red;">*</em>
                        <label for="thresLow2-update" class="control-label">阀值下限2：</label>
                        <input type="text" class="form-control" id="thresLow2-update"
                               name="thresLow2">
                    </div>
                    <div class="form-group">
                        <em style="color: red;">*</em>
                        <label for="thresUP1Word-update" class="control-label">阀值上限1广播文字：</label>
                        <input type="text" class="form-control" id="thresUP1Word-update"
                               name="thresUP1Word">
                    </div>
                    <div class="form-group">
                        <em style="color: red;">*</em>
                        <label for="thresUP2Word-update" class="control-label">阀值上限2广播文字：</label>
                        <input type="text" class="form-control" id="thresUP2Word-update"
                               name="thresUP2Word">
                    </div>
                    <div class="form-group">
                        <em style="color: red;">*</em>
                        <label for="thresLow1Word-update" class="control-label">阀值下限1广播文字：</label>
                        <input type="text" class="form-control" id="thresLow1Word-update"
                               name="thresLow1Word">
                    </div>
                    <div class="form-group">
                        <em style="color: red;">*</em>
                        <label for="thresLow2Word-update" class="control-label">阀值下限2广播文字：</label>
                        <input type="text" class="form-control" id="thresLow2Word-update"
                               name="thresLow2Word">
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary" onclick="updateSensorManagement()">确定</button>
            </div>
        </div>
    </div>
</div>
<script src="js/sensormanagement-table.js"></script>
<script>

</script>
</body>
</html>